fastboot: simplify the Kconfig logic
authorYann E. MORIN <[email protected]>
Sun, 13 Nov 2016 21:26:13 +0000 (22:26 +0100)
committerTom Rini <[email protected]>
Mon, 21 Nov 2016 19:07:33 +0000 (14:07 -0500)
commitc294873179ea3a9eb2c51c23f78f2dfae92e4a2d
treecb1ecfce147aa74dd8d5312a2e030ff67e6c5084
parent12262340d5181cbaef1d60364bc9e7b2b632b6e6
fastboot: simplify the Kconfig logic

Currently, the fastboot item in menuconfig is a comment followed by a
boolean option withan empty prompt, followed by a menu:

        *** FASTBOOT ***
    [*]
          Fastboot support  --->

This is not "nice-looking" at all...

Change the logic to make the boolean option a "menuconfig" rather than a
mere "config", so that all dependent options gets groupped under a menu.
The layout is now:

        *** FASTBOOT ***
    [*] Fastboot support  --->

Signed-off-by: "Yann E. MORIN" <[email protected]>
Cc: Simon Glass <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Simon Glass <[email protected]>
cmd/fastboot/Kconfig